package simplescenegraph;

public abstract class SceneObject {
 
	protected Node leafNode;
	
	protected BoundingVolume boundingVolume;

	public BoundingVolume getBoundingVolume() {
		return boundingVolume;
	}

	public void setBoundingVolume(BoundingVolume boundingVolume) {
		this.boundingVolume = boundingVolume;
	}
	
	public abstract void draw(Renderer renderer);

	public Node getLeafNode() {
		return leafNode;
	}

	public void setLeafNode(Node leafNode) {
		this.leafNode = leafNode;
	}
	 
}
 
